<style>
	#productItem
	{
		border: 1 px solid red;
		width: 200px;
		height: 250px;
		text-align: center;
		
		margin-left: 15px;
		margin-bottom: 15px;
		float: left;
	}
</style>



<p>Усі продукти із категорії <?=$categoryId?></p>
	<?if(count($shopProducts) > 0):?>
	<?foreach($shopProducts as $product):?>
		<div id="productItem">
		<?=$product?>
		</div>
	<?endforeach?>
	<div style="clear: both;"></div>
<?endif?>